﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCADA_SANEST.Models.Line_4
{
    public static class Hbt4SignalMap
    {
        public static List<PlcSignal> GetSignals()
        {
            return new List<PlcSignal>
            {
                new PlcSignal { Name = "NUT KHAN", Type = PlcDataType.Bool, Address = "I0.0" },
                new PlcSignal { Name = "START", Type = PlcDataType.Bool, Address = "I0.1" },
                new PlcSignal { Name = "STOP", Type = PlcDataType.Bool, Address = "I0.2" },
                new PlcSignal { Name = "RESET", Type = PlcDataType.Bool, Address = "I0.3" },
                new PlcSignal { Name = "N NANG BOM_M1", Type = PlcDataType.Bool, Address = "I0.4" },
                new PlcSignal { Name = "N HA BOM_M1", Type = PlcDataType.Bool, Address = "I0.5" },
                new PlcSignal { Name = "N VAO BT_M2", Type = PlcDataType.Bool, Address = "I0.6" },
                new PlcSignal { Name = "N RA BT_M2", Type = PlcDataType.Bool, Address = "I0.7" },

                new PlcSignal { Name = "CTHT DUOI BOM_M1", Type = PlcDataType.Bool, Address = "I1.0" },
                new PlcSignal { Name = "CTHT TREN BOM_M1", Type = PlcDataType.Bool, Address = "I1.1" },
                new PlcSignal { Name = "CB2 BT_M3", Type = PlcDataType.Bool, Address = "I1.2" },
                new PlcSignal { Name = "CB3 BX_M4 THUAN", Type = PlcDataType.Bool, Address = "I1.3" },
                new PlcSignal { Name = "CB4 BX_M4 NGHICH", Type = PlcDataType.Bool, Address = "I1.4" },
                new PlcSignal { Name = "CB5 BT_M5 DAU", Type = PlcDataType.Bool, Address = "I1.5" },

                new PlcSignal { Name = "CB6 BT_M5 CUOI", Type = PlcDataType.Bool, Address = "I2.0" },
                new PlcSignal { Name = "CB7 BT_M6 GIUA", Type = PlcDataType.Bool, Address = "I2.1" },
                new PlcSignal { Name = "CB8 BT_M6 CUOI", Type = PlcDataType.Bool, Address = "I2.2" },
                new PlcSignal { Name = "CB9 BX_M7 FIRST", Type = PlcDataType.Bool, Address = "I2.3" },
                new PlcSignal { Name = "CB10 BX_M7 CAP SOT", Type = PlcDataType.Bool, Address = "I2.4" },
                new PlcSignal { Name = "CB11 BTX_M7 LAY SOT", Type = PlcDataType.Bool, Address = "I2.5" },
                new PlcSignal { Name = "CB12 BT_M8 DAU", Type = PlcDataType.Bool, Address = "I2.6" },
                new PlcSignal { Name = "CB13 BT_M8 CUOI", Type = PlcDataType.Bool, Address = "I2.7" },

                new PlcSignal { Name = "CB14 BT_M9 GIUA", Type = PlcDataType.Bool, Address = "I3.0" },
                new PlcSignal { Name = "CB15 BT_M9 CUOI", Type = PlcDataType.Bool, Address = "I3.1" },
                new PlcSignal { Name = "CB16 BX_M10 THUAN", Type = PlcDataType.Bool, Address = "I3.2" },
                new PlcSignal { Name = "CB17 BX_M10 NGHICH", Type = PlcDataType.Bool, Address = "I3.3" },
                new PlcSignal { Name = "N LEN BOM_M11", Type = PlcDataType.Bool, Address = "I3.4" },
                new PlcSignal { Name = "N XUONG BOM_M11", Type = PlcDataType.Bool, Address = "I3.5" },
                new PlcSignal { Name = "CTHT DUOI BOM_M11", Type = PlcDataType.Bool, Address = "I3.6" },
                new PlcSignal { Name = "CTHT TREN BOM_M11", Type = PlcDataType.Bool, Address = "I3.7" },

                new PlcSignal { Name = "N VAO BT_M12", Type = PlcDataType.Bool, Address = "I4.0" },
                new PlcSignal { Name = "N RA BT_M12", Type = PlcDataType.Bool, Address = "I4.1" },
                new PlcSignal { Name = "CB18 BT_M13", Type = PlcDataType.Bool, Address = "I4.2" },
                new PlcSignal { Name = "CB19 BT_M14 DAU", Type = PlcDataType.Bool, Address = "I4.3" },
                new PlcSignal { Name = "CB20 BT_M14 CUOI", Type = PlcDataType.Bool, Address = "I4.4" },
                new PlcSignal { Name = "CB21 BT_M15 GIUA", Type = PlcDataType.Bool, Address = "I4.5" },
                new PlcSignal { Name = "CB22 BT_M15 CUOI", Type = PlcDataType.Bool, Address = "I4.6" },

                new PlcSignal { Name = "LOI BOM_M1", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M2", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M3", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M5", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M6", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M8", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BT_M9", Type = PlcDataType.Bool, Address = "I5.0" },
                new PlcSignal { Name = "LOI BOM_M11", Type = PlcDataType.Bool, Address = "I5.0" },

                new PlcSignal { Name = "LOI BT_M12", Type = PlcDataType.Bool, Address = "I6.0" },
                new PlcSignal { Name = "LOI BT_M13", Type = PlcDataType.Bool, Address = "I6.0" },
                new PlcSignal { Name = "LOI BT_M14", Type = PlcDataType.Bool, Address = "I6.0" },
                new PlcSignal { Name = "LOI BT_M15", Type = PlcDataType.Bool, Address = "I6.0" },
                new PlcSignal { Name = "LOI BT_M16", Type = PlcDataType.Bool, Address = "I6.0" },

                new PlcSignal { Name = "TH XE LAY SOT DI TT", Type = PlcDataType.Bool, Address = "I7.0" },
                new PlcSignal { Name = "TH XE CAP SOT SAU TT", Type = PlcDataType.Bool, Address = "I7.1" },



                new PlcSignal { Name = "K_TONG", Type = PlcDataType.Bool, Address = "Q0.0" },
                new PlcSignal { Name = "BOM NANG HA_M1", Type = PlcDataType.Bool, Address = "Q0.1" },
                new PlcSignal { Name = "PISTON NANG_M1", Type = PlcDataType.Bool, Address = "Q0.2" },
                new PlcSignal { Name = "PISTON HA_M1", Type = PlcDataType.Bool, Address = "Q0.3" },
                new PlcSignal { Name = "BT_M2 VAO", Type = PlcDataType.Bool, Address = "Q0.4" },
                new PlcSignal { Name = "BT_M2 RA", Type = PlcDataType.Bool, Address = "Q0.5" },
                new PlcSignal { Name = "BT_M3 THUAN", Type = PlcDataType.Bool, Address = "Q0.6" },
                new PlcSignal { Name = "BT_M3 NGHICH", Type = PlcDataType.Bool, Address = "Q0.7" },

                new PlcSignal { Name = "THANG BAN XOAY_M4", Type = PlcDataType.Bool, Address = "Q2.0" },
                new PlcSignal { Name = "BT_M5", Type = PlcDataType.Bool, Address = "Q2.1" },
                new PlcSignal { Name = "BT_M6 THUAN", Type = PlcDataType.Bool, Address = "Q2.2" },
                new PlcSignal { Name = "BT_M6 NGHICH", Type = PlcDataType.Bool, Address = "Q2.3" },
                new PlcSignal { Name = "THANG BAN XOAY_M7", Type = PlcDataType.Bool, Address = "Q2.6" },
                new PlcSignal { Name = "BT_M8", Type = PlcDataType.Bool, Address = "Q2.7" },

                new PlcSignal { Name = "BT_M9 THUAN", Type = PlcDataType.Bool, Address = "Q3.0" },
                new PlcSignal { Name = "BT_M9 NGHICH", Type = PlcDataType.Bool, Address = "Q3.1" },
                new PlcSignal { Name = "THANG BAN XOAY_M10", Type = PlcDataType.Bool, Address = "Q3.4" },
                new PlcSignal { Name = "BOM NANG HA_M11", Type = PlcDataType.Bool, Address = "Q3.5" },
                new PlcSignal { Name = "PISTON NANG_M11", Type = PlcDataType.Bool, Address = "Q3.6" },
                new PlcSignal { Name = "PISTON HA_M11", Type = PlcDataType.Bool, Address = "Q3.7" },

                new PlcSignal { Name = "BT_M12 THUAN", Type = PlcDataType.Bool, Address = "Q4.0" },
                new PlcSignal { Name = "BT_M12 NGHICH", Type = PlcDataType.Bool, Address = "Q4.1" },
                new PlcSignal { Name = "BT_M13", Type = PlcDataType.Bool, Address = "Q4.2" },
                new PlcSignal { Name = "BT_M14", Type = PlcDataType.Bool, Address = "Q4.3" },
                new PlcSignal { Name = "BT_M15", Type = PlcDataType.Bool, Address = "Q4.4" },
                new PlcSignal { Name = "BT_M16", Type = PlcDataType.Bool, Address = "Q4.5" },
                new PlcSignal { Name = "TH M6 TRONG", Type = PlcDataType.Bool, Address = "Q4.6" },
            };
        }
    }
}
